package conn;


public class Test {
    // 测试数据库连接
    public static void main(String[] args)
    {
        try{
           Conn conn = new Conn();
           conn.open();
           System.out.println("连接成功");
        }catch(Exception e)
        {
            System.out.println("连接失败！");
            throw new RuntimeException("连接数据库异常！");
        }

    }
}

